<?php
if (!isset($error_message)) $error_message = '';
if (!isset($ok_message)) $ok_message = '';
?>

<div style="margin-bottom:1em;margin-top:1em">
	<?php if ($error_message != '') : ?>
	<div class="xrvel_scaffolding_error">
		<?php echo $error_message; ?>
	</div>
	<?php
	//echo validation_errors();
	?>
	<?php endif; ?>
	
	<?php if ($ok_message != '') : ?>
	<div class="xrvel_scaffolding_ok">
		<?php echo $ok_message; ?>
	</div>
	<?php endif; ?>
</div>